using System.ComponentModel.DataAnnotations;
using PowerManage.Entity.Enums;

namespace PowerManage.Entity.Dtos.Roles;

public class RoleCreateDto
{
    public long Id { get; set; }

    /// <summary>
    /// 角色名称
    /// </summary>
    [Required]
    [MaxLength(50)]
    public string Name { get; set; }

    /// <summary>
    /// 状态，0：禁用，1：正常
    /// </summary>
    public RoleStatus Status { get; set; }

    /// <summary>
    /// 备注
    /// </summary>
    [MaxLength(500)]
    public string? Remark { get; set; }
}